package com.mvcMovie.service;

import com.mvcMovie.bean.User;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

public interface LoginAndExitService {
    public void CookieJudge(HttpServletRequest request, HttpServletResponse response);
    public User Login(String username, String password, String jump);

    public void NoLoginJudgment(HttpServletRequest request, HttpServletResponse response);

    public void Exit(HttpServletRequest request, HttpServletResponse response);
}
